home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / lists / mint / l_1599 / 1207 < prev    next >
Encoding:
Internet Message Format  |  1994-08-27  |  1.1 KB

  1. From: Julian Reschke <reschke@GOEDEL.UNI-MUENSTER.DE>
  2. Subject: fs information
  3. Date: Fri, 18 Mar 94 12:24:24 MET DST
  4.  
  5. Problem: for a library, I need a way to inquire the block device associated
  6. with a certain filesystem. Example: input: u:\cdrom, output: u:\dev\scd5.
  7. This is needed so that an application can have the user select a folder
  8. and then access the (block device) audio commands of the associated
  9. CD ROM drive.
  10.  
  11. One solution would be to have a Dcntl opcode which returns just that.
  12. In addition, it could/should return information similar to getmntent()
  13. in SunOS (file system type and so on...). Besides, there should really
  14. be a better way to get a list of mounted filesystems than reading the
  15. entries from U:`s root.
  16.  
  17. Another easy solution: just implement all Fcntls for the block device
  18. as Dcntls for the file system, too. This of course requires that all
  19. block devices have distinct Fcntl opcodes.
  20.  
  21. What do you think?
  22.  
  23. -- 
  24. ---------------------------------------------------
  25. Julian F. Reschke, Hensenstr. 142, D-48161 Muenster
  26.  eMail: reschke@math.uni-muenster.de jr@ms.maus.de
  27. ___________________________________________________
  28.